package com.situ.boot.entity;

import javax.persistence.*;
import java.util.Objects;

@Entity
@Table(name = "set", schema = "brcc", catalog = "")
public class SetEntity {
    private Double czmoney;
    private Integer czsum;
    private Double fxmoney;
    private Double fbmoney;
    private Double bmoney;
    private Integer suo;
    private Double version;
    private int id;
    private Double zhitui;
    private Double jiantui;
    private Double shouxu;
    private Integer rys;
    private Integer brs;
    private Double brzt;
    private Double brjt;
    private Double brld;
    private Double brld2;
    private Double brld3;
    private Double fuwu;
    private Double yfuwu;
    private Double gfuwu;
    private Double zfuwu;
    private Double fmoney;

    @Basic
    @Column(name = "czmoney")
    public Double getCzmoney() {
        return czmoney;
    }

    public void setCzmoney(Double czmoney) {
        this.czmoney = czmoney;
    }

    @Basic
    @Column(name = "czsum")
    public Integer getCzsum() {
        return czsum;
    }

    public void setCzsum(Integer czsum) {
        this.czsum = czsum;
    }

    @Basic
    @Column(name = "fxmoney")
    public Double getFxmoney() {
        return fxmoney;
    }

    public void setFxmoney(Double fxmoney) {
        this.fxmoney = fxmoney;
    }

    @Basic
    @Column(name = "fbmoney")
    public Double getFbmoney() {
        return fbmoney;
    }

    public void setFbmoney(Double fbmoney) {
        this.fbmoney = fbmoney;
    }

    @Basic
    @Column(name = "bmoney")
    public Double getBmoney() {
        return bmoney;
    }

    public void setBmoney(Double bmoney) {
        this.bmoney = bmoney;
    }

    @Basic
    @Column(name = "suo")
    public Integer getSuo() {
        return suo;
    }

    public void setSuo(Integer suo) {
        this.suo = suo;
    }

    @Basic
    @Column(name = "version")
    public Double getVersion() {
        return version;
    }

    public void setVersion(Double version) {
        this.version = version;
    }

    @Id
    @Column(name = "id")
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Basic
    @Column(name = "zhitui")
    public Double getZhitui() {
        return zhitui;
    }

    public void setZhitui(Double zhitui) {
        this.zhitui = zhitui;
    }

    @Basic
    @Column(name = "jiantui")
    public Double getJiantui() {
        return jiantui;
    }

    public void setJiantui(Double jiantui) {
        this.jiantui = jiantui;
    }

    @Basic
    @Column(name = "shouxu")
    public Double getShouxu() {
        return shouxu;
    }

    public void setShouxu(Double shouxu) {
        this.shouxu = shouxu;
    }

    @Basic
    @Column(name = "rys")
    public Integer getRys() {
        return rys;
    }

    public void setRys(Integer rys) {
        this.rys = rys;
    }

    @Basic
    @Column(name = "brs")
    public Integer getBrs() {
        return brs;
    }

    public void setBrs(Integer brs) {
        this.brs = brs;
    }

    @Basic
    @Column(name = "brzt")
    public Double getBrzt() {
        return brzt;
    }

    public void setBrzt(Double brzt) {
        this.brzt = brzt;
    }

    @Basic
    @Column(name = "brjt")
    public Double getBrjt() {
        return brjt;
    }

    public void setBrjt(Double brjt) {
        this.brjt = brjt;
    }

    @Basic
    @Column(name = "brld")
    public Double getBrld() {
        return brld;
    }

    public void setBrld(Double brld) {
        this.brld = brld;
    }

    @Basic
    @Column(name = "brld2")
    public Double getBrld2() {
        return brld2;
    }

    public void setBrld2(Double brld2) {
        this.brld2 = brld2;
    }

    @Basic
    @Column(name = "brld3")
    public Double getBrld3() {
        return brld3;
    }

    public void setBrld3(Double brld3) {
        this.brld3 = brld3;
    }

    @Basic
    @Column(name = "fuwu")
    public Double getFuwu() {
        return fuwu;
    }

    public void setFuwu(Double fuwu) {
        this.fuwu = fuwu;
    }

    @Basic
    @Column(name = "yfuwu")
    public Double getYfuwu() {
        return yfuwu;
    }

    public void setYfuwu(Double yfuwu) {
        this.yfuwu = yfuwu;
    }

    @Basic
    @Column(name = "gfuwu")
    public Double getGfuwu() {
        return gfuwu;
    }

    public void setGfuwu(Double gfuwu) {
        this.gfuwu = gfuwu;
    }

    @Basic
    @Column(name = "zfuwu")
    public Double getZfuwu() {
        return zfuwu;
    }

    public void setZfuwu(Double zfuwu) {
        this.zfuwu = zfuwu;
    }

    @Basic
    @Column(name = "fmoney")
    public Double getFmoney() {
        return fmoney;
    }

    public void setFmoney(Double fmoney) {
        this.fmoney = fmoney;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        SetEntity setEntity = (SetEntity) o;
        return id == setEntity.id &&
                Objects.equals(czmoney, setEntity.czmoney) &&
                Objects.equals(czsum, setEntity.czsum) &&
                Objects.equals(fxmoney, setEntity.fxmoney) &&
                Objects.equals(fbmoney, setEntity.fbmoney) &&
                Objects.equals(bmoney, setEntity.bmoney) &&
                Objects.equals(suo, setEntity.suo) &&
                Objects.equals(version, setEntity.version) &&
                Objects.equals(zhitui, setEntity.zhitui) &&
                Objects.equals(jiantui, setEntity.jiantui) &&
                Objects.equals(shouxu, setEntity.shouxu) &&
                Objects.equals(rys, setEntity.rys) &&
                Objects.equals(brs, setEntity.brs) &&
                Objects.equals(brzt, setEntity.brzt) &&
                Objects.equals(brjt, setEntity.brjt) &&
                Objects.equals(brld, setEntity.brld) &&
                Objects.equals(brld2, setEntity.brld2) &&
                Objects.equals(brld3, setEntity.brld3) &&
                Objects.equals(fuwu, setEntity.fuwu) &&
                Objects.equals(yfuwu, setEntity.yfuwu) &&
                Objects.equals(gfuwu, setEntity.gfuwu) &&
                Objects.equals(zfuwu, setEntity.zfuwu) &&
                Objects.equals(fmoney, setEntity.fmoney);
    }

    @Override
    public int hashCode() {
        return Objects.hash(czmoney, czsum, fxmoney, fbmoney, bmoney, suo, version, id, zhitui, jiantui, shouxu, rys, brs, brzt, brjt, brld, brld2, brld3, fuwu, yfuwu, gfuwu, zfuwu, fmoney);
    }
}
